#include "global.h"
#include "hHuffman.h"

void Huffman::code(hBitStr& outData, const void* dt, size_t len)
{
	_hHuffmanDetail::CodeCallback{ outData, (const char*)dt, len } ();
}

void Huffman::codeEx1(hBitStr& outData, const void* dt, size_t len)
{
	_hHuffmanDetail::CodeEx1Callback{ outData, (const char*)dt, len } ();
}

void Huffman::codeEx2(hBitStr& outData, const void* dt, size_t len)
{
	_hHuffmanDetail::CodeEx2Callback{ outData, (const char*)dt, len } ();
}


